package com.baoxin.chenxixc4coach.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class UncheckStudent implements Parcelable {
    /**
     * userName : 许俊杰
     * photoUrl : http://bxpeter.oss-cn-shanghai.aliyuncs.com/avatar/0.9448769811304216
     * phone : 17681107479
     * attationTime :
     */

    private String userId;
    private String octId;
    private String userName;
    private String photoUrl;
    private String phone;
    private String attationTime;
    /**
     * 0=未审核，1=通过，2=拒绝
     */
    private int checkState;

    public String getOctId() {
        return octId;
    }

    public void setOctId(String octId) {
        this.octId = octId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setCheckState(int checkState) {
        this.checkState = checkState;
    }

    public int getCheckState() {
        return checkState;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAttationTime() {
        return attationTime;
    }

    public void setAttationTime(String attationTime) {
        this.attationTime = attationTime;
    }

    public UncheckStudent() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.userId);
        dest.writeString(this.octId);
        dest.writeString(this.userName);
        dest.writeString(this.photoUrl);
        dest.writeString(this.phone);
        dest.writeString(this.attationTime);
        dest.writeInt(this.checkState);
    }

    protected UncheckStudent(Parcel in) {
        this.userId = in.readString();
        this.octId = in.readString();
        this.userName = in.readString();
        this.photoUrl = in.readString();
        this.phone = in.readString();
        this.attationTime = in.readString();
        this.checkState = in.readInt();
    }

    public static final Creator<UncheckStudent> CREATOR = new Creator<UncheckStudent>() {
        @Override
        public UncheckStudent createFromParcel(Parcel source) {
            return new UncheckStudent(source);
        }

        @Override
        public UncheckStudent[] newArray(int size) {
            return new UncheckStudent[size];
        }
    };
}
